home *** CD-ROM | disk | other *** search
/ SGI IndiZone 2 / SGI IndiZone 2.iso / OutOfBox.idb / usr / people / tour / .OutOfBox.z / .OutOfBox (.txt)
Text File  |  1994-12-16  |  850b  |  35 lines

  1. #!/bin/sh
  2.  
  3.  
  4. xsetroot -mod 10 10 -fg black -bg black
  5.  
  6. cd /usr/people/tour/oob
  7. bin/oobversions autologin
  8. case `scripts/memsize`
  9. in
  10.     MemoryOK)
  11.         bin/blankScreen &
  12.         case `bin/introScreen`
  13.         in
  14.             Help!) 
  15.                 if (type bin/oob)
  16.                 then (bin/oob scenegraphs/pillars/pillars.iv scripts/intro)
  17.                 else (sleep 2
  18.                       scripts/intro)
  19.                 fi
  20.                 bin/oobplayer movies/credits/finalCredits.mv -f .2 -F 3,4,.05 -n -c ;;
  21.             Exit!)     ;;
  22.         esac;;
  23.     NotEnough)
  24.         xconfirm -t "There is not enough memory on your machine to run the Out Of Box Experience, sorry" -geometry "+300+300"  -B ok -exclusive -icon info;;
  25. esac
  26.  
  27. if (type bin/oob)
  28. then (scripts/completeDelScript)
  29. else (scripts/introDelScript)
  30. fi
  31.  
  32. /etc/killall blankScreen
  33. PROP_DISPLAY=`expr $DISPLAY : '\(.*\).[1-9]' \| $DISPLAY`
  34. /usr/bin/X11/xprop -display $PROP_DISPLAY -root -remove _SGI_SESSION_PROPERTY
  35.